package ObjectStatic.ObjectStaticExercise001;

/**
 * ClassName:ArrayUtilText
 * Package:ObjectStatic
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/19-12:16
 * @Version:v1.0
 */
public class ArrayUtilText {
    //测试工具类中的两个方法是否正确
    public static void main(String[] args) {
        int [] arr1 ={1,2,3,4,5};
        double[]arr2={1.5,2.5,3.5,4.5};
        String str = ArrayUtil.printArr(arr1);
        System.out.println(str);
        double avg = ArrayUtil.getAverage(arr2);
        System.out.println(avg);
    }
}
